﻿@model List<Client.LF.reward_tab>

@{
    Layout = null;
 }

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>reward_tabshow</title>
    <link href="~/Content/css/bootstrap.min.css" rel="stylesheet" />
<script src="~/Scripts/js/jquery.min.js"></script>
<script src="~/Scripts/js/bootstrap.min.js"></script>
<script src="~/Scripts/jquery-1.8.2.min.js"></script>
</head>
<body>
    <div><input id="Button1" type="button" value="奖励员工注册" onclick="funadd()" />
        <table style="text-align:center; border-collapse:collapse;" border="1" class="table-bordered table table-condensed table-responsive table-hover">
            <thead>
                <tr>
                    <td>获奖员工</td>
                    <td>奖罚标题</td>
                    <td>获奖时间</td>
                    <td>奖品类别</td>
                    <td>操作</td>
                </tr>
            </thead>
            <tbody>
                @{
                    foreach (var item in Model)
                    {
                        <tr><td>@item.EmployName</td><td>@item.retitle</td><td>@item.redate</td><td>@item.pname</td><td><a href="/new/reward_tabdel?rid=@item.rid">删除档案</a>  <a href="/new/reward_tabExist?rid=@item.rid">修改档案</a></td></tr>
                    }
                }
            </tbody>
        </table>    
    </div>
</body>
</html>
<script>
    function funadd()
    {
        location.href = '/new/reward_tabadd'
    }
</script>